package physics.MovementControl;

import physics.GameObject;


public class WalkerMovmentController extends AbstractMovementController {
	
	public WalkerMovmentController(GameObject object) {
		super(object);
		movementFriction = 0.005;
		movementLimit = 0.5;
	}

	@Override
	protected void doMoveMomentum() {
		// backup facing directions
//		Position3D position = object.getPosition();
//		Point3D left = position.getLeft().clone();
//		Point3D up = position.getLeft().clone();
//		Point3D face = position.getFace().clone();
	
		
		object.getPlanet().walkOnPlanet(object, movementMomentum);
		
//		movementMomentum.rotateWith(
//				object.getLeft(),
//				object.getUp(),
//				object.getFace());
	}

	@Override
	protected void doRotationMomentum() {
		super.doRotationMomentum();
	}
	
	
	
}
